package database.team.phase2;
import java.io.File;
public class checkFolder {
	public void cleanFolder(String Folder){
	String absPathSubLists = null;
	File file = new File(Folder); 
	absPathSubLists = file.getAbsolutePath();
	File folder = new File(absPathSubLists);
	File[] tempFiles = folder.listFiles();
	    for (int i = 0; i < tempFiles.length; i++) {
	        if (tempFiles[i].isFile()) {
	        	tempFiles[i].delete();
	        }
	    }      
	}
}
